package jtk.project4.fleet.field;

import jtk.project4.fleet.domain.Employee;
import nl.coderight.jazz.form.FormLayout;
import nl.coderight.jazz.form.control.GroupControl;
import nl.coderight.jazz.form.field.MemoField;

public class EmployeeContactNotesField extends GroupControl<Employee> {
	private MemoField memoNotes;
	
	public EmployeeContactNotesField(String bindID){
		setTitle("Notes");
		setBindID(bindID);
		createFields();
		createLayout();
	}
	
	private void createFields(){
		memoNotes = new MemoField ("notes");
		//memoNotes.setRequired(true);		
		
	}
	
	private void createLayout() {
		setLayout(new FormLayout())
		.addField(memoNotes)
		.addRow();
	}
}

	


